// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import "./style/common.scss"
import "./utils/filter"
import http from "axios"
import echarts from "echarts"
import ecStat from "echarts-stat"

import 'iview/dist/styles/iview.css'
import iView from 'iview'
Vue.use(iView);
//sh

Vue.config.productionTip = false

//添加在vue原型上
Vue.prototype.$http = http;
Vue.prototype.$echarts = echarts;
Vue.prototype.$ecStat = ecStat;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
